package com.zzp.jap.test.domain;

import com.zzp.jap.test.applications.UserDto;
import com.zzp.jap.test.domain.model.User;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;

public interface UserRepository extends JpaRepository<User,Integer> {
    Page<UserDto> findByLastName(String lastName, Pageable pageable);
}
